<%-- 
    Document   : album_manage_page
    Created on : Jun 8, 2012, 3:53:12 PM
    Author     : ThuanPQ
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <script type="text/javascript">
            function myFunction()
            {
                var name=prompt("Please enter Album Name","");
                if (name!=null && name!="")
                {
                    document.location.href = "Controller?txtAlbumName="+name+"&action=Create+Album";
                }
            }
        </script>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <p><span onclick="myFunction()">New Album</span></p>
        <h1>Search Album!</h1>
        <form action="Controller">
            Album name: <input type="text" name="txtSearch" value="" /><br/>
            <input type="submit" name="action" value="Search Album"/>
        </form>
        <h1>Create Album!</h1>
        <form action="Controller">
            Album name: <input type="text" name="txtAlbumName" value="" /><br/>
            <input type="submit" name="action" value="Create Album"/>
        </form>

        <h1>Marshall Albums' Detail</h1>
        <form action="Controller">
            <input type="submit" name="action" value="MarshallAlbumsDetail"/>
        </form>
        
        <h1>Marshall Albums Content</h1>
        <form action="Controller">
            <input type="submit" name="action" value="MarshallAlbumContent"/>
        </form>

        <h1>Generate PDF</h1>
        <form action="PDFController">
            <input type="submit" name="action" value="GeneratePDF"/>
        </form>
    </body>
</html>
